<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>用户列表</title>
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="../../css/oksub.css">
	<script type="text/javascript" src="../../lib/loading/okLoading.js"></script>
</head>
<body>
<div class="ok-body">
	<!--模糊搜索区域-->
	<div class="layui-row">
		<form class="layui-form layui-col-md12 ok-search">
			<input class="layui-input" placeholder="开始日期" autocomplete="off" id="startTime" name="startTime">
			<input class="layui-input" placeholder="截止日期" autocomplete="off" id="endTime" name="endTime">
			<input class="layui-input" placeholder="请输入账户名" autocomplete="off" name="username">
			<button class="layui-btn" lay-submit="" lay-filter="search">
				<i class="layui-icon layui-icon-search"></i>
			</button>
		</form>
	</div>
	<!--数据表格-->
	<table class="layui-hide" id="tableId" lay-filter="tableFilter"></table>
</div>
<!--js逻辑-->
<script type="text/javascript" src="../../lib/jquery/3.3.0/jquery.min.js"></script>
<script src="../../lib/layui/layui.js"></script>
<script src="../../libme/script/tgfApi.js"></script>
<script src="../../libme/pages/body.js"></script>
<script src="../../libme/pages/sys/sysuser-list.js"></script>

<!-- 头工具栏模板 -->
<script type="text/html" id="toolbarTpl">
	<div class="layui-btn-container">
		<div class="layui-inline layui-hide user-create" lay-event="add"><i class="layui-icon layui-icon-add-1"></i></div>
		<div class="layui-inline layui-hide user-delete" lay-event="batchDel"><i class="layui-icon layui-icon-delete"></i></div>
	</div>
</script>
<!-- 行工具栏模板 -->
<script type="text/html" id="userTypeTpl">
	{{#  if(d.userType == '00'){ }}
	<span class="layui-badge layui-bg-cyan">系统用户</span>
	{{#  } else if(d.userType == '10') { }}
	<span class="layui-badge layui-bg-blue">内部用户</span>
	{{#  } else if(d.userType == '20') { }}
	<span class="layui-badge layui-bg-gray">注册用户</span>
	{{#  } }}
</script>

<script type="text/html" id="operationTpl">
	<a href="javascript:" title="密码初始化" class="user-pswproxy" lay-event="pswproxy"><i class="layui-icon">&#xe673;</i></a>&nbsp;
	<a href="javascript:" title="账号启用停用" class="user-userstat" lay-event="userstat"><i class="layui-icon">&#xe652;</i></a>&nbsp;
	<a href="javascript:" title="编辑用户" class="user-modify layui-hide" lay-event="modify"><i class="layui-icon">&#xe642;</i></a>&nbsp;
	<a href="javascript:" title="删除用户" class="user-delete layui-hide" lay-event="delete"><i class="layui-icon">&#xe640;</i></a>&nbsp;
	<a href="javascript:" title="分配角色" class="user-role layui-hide" lay-event="role"><i class="layui-icon">&#xe679;</i></a>
</script>
</body>
</html>
